package com.service;

import com.bean.User;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

/***
 * 该接口为出uer表的操作
 */
public interface UserService {
    List<User> queryUserList();

    void deleteUserById(int id);

    void backToUser(int id, String username, String question, String contact, String address,Date date);

    int addUser(User user);

    void addUserInLocal(String username, String question, String contact, String address, Date date);
}
